package com.wcsy.myblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wcsy.myblog.entity.Attention;
import org.apache.ibatis.annotations.Param;

public interface IAttentionService extends IService<Attention> {
    void insertAttontion(@Param("attention") Attention attention);

    /**
     *
     * @param userId 待关注人的id
     * @param userIds 关注人的id
     * @return
     */
    Boolean selectUserAttention(int userId,int userIds);
    void deleteAttontion(int id);
}
